import { UserOutlined, FormOutlined ,ProjectOutlined, MoneyCollectOutlined ,InboxOutlined} from '@ant-design/icons';
import React from 'react';

export const topMenuItems = [
    {
        key: 'homepage',
        label: '仪表盘',
    },
    {
        key: 'WMS',
        label: '应用中心',
    },
    {
        key: 'setting',
        label: '设置中心',
    },
    {
        key: 'test',
        label: '测试',
    },

];

// 侧边栏菜单（纯手动）
export const sideMenuItems = [
    {
        key: 'sub1',
        icon: React.createElement(UserOutlined),
        label: '信息管理',
        children: [
            { key: 'personal', label: '个人资料' },
            { key: 'role', label: '权限管理' },
            { key: 'user', label: '用户管理' },
            { key: 'approval', label: '流程管理' },
            { key: 'supplier', label: '供应商管理' },
            { key: 'tree-menu', label: '目录树维护' },
            { key: 'notification-center', label: '消息中心' },
        ],
    },
    {
        key: 'sub2',
        icon: React.createElement(FormOutlined),
        label: '采购申请',
        children: [
            { key: 'purchase', label: '采购总览' },
            { key: 'purchase-list', label: '采购申请' },


        ],
    },
    {
        key: 'sub3',
        icon: React.createElement(InboxOutlined),
        label: '出入库管理',
        children: [
            { key: 'warehouse', label: '仓库总览' },
            { key: 'inbound-management', label: '入库管理' },
            { key: 'outbound-management', label: '出库管理' },
        ],
    },
    {
        key: 'sub4',
        icon: React.createElement(MoneyCollectOutlined),
        label: '费用中心',
        children: [
            { key: 'finance', label: '项目费用总览' },
            { key: 'expense-templates', label: '费用模板' },

        ],
    },
    {
        key: 'sub5',
        icon: React.createElement(ProjectOutlined),
        label: '项目管理',
        children: [
            { key: 'project', label: '项目总览' },
            { key: 'project-management', label: '项目管理' },
            { key: 'materials-list', label: '材料清单' },
        ],
    },
    {
        key: 'sub6',
        icon: React.createElement(ProjectOutlined),
        label: '审批中心',
        children: [
            { key: 'fee-approval', label: '采购财务审批' },
            { key: 'approval-edit', label: '审批编辑' },
        ],
    },
];
